﻿namespace EasyXaf.ObjectSpaces.OData;

[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class ODataAssociationAttribute : Attribute
{
    public string Name { get; }

    public ODataAssociationAttribute(string name)
    {
        Name = string.IsNullOrWhiteSpace(name) ? null : name;
    }
}
